package com.yx.learn.service;

import java.util.List;

import com.yx.learn.domain.User;

public interface UserService {
	
	public User checkUser(String employNo, String password) throws Exception;
	
	public void saveUser(User user) throws Exception;

	public void deleteUser(User user) throws Exception;

	public void updateUser(User user) throws Exception;

	public void login_ud(User user) throws Exception;

	public User findById(int id) throws Exception;

	public User findUserByNo(String employNo) throws Exception;

	public int findRows(String hql) throws Exception;

	public List<User> findUsers(String hql, int pageNumber, int pageSize)
			throws Exception;

	public List<User> findAllUser(String hql) throws Exception;

	public List<User> getUsers() throws Exception;
	
	public String usersToCombobox()throws Exception;


}
